/*
 * Thing.java
 *
 * Created on March 27, 2007, 8:17 AM
 *
 * To change this template, choose Tools | Template Manager
 * and open the template in the editor.
 */


/*
package Comum;

import javax.swing.Icon;
import javax.swing.JLabel;
import java.awt.Color;
 */

 
/**
 *
 * @author canislupus
 */

/*

public class Thing {
    private boolean is
            private JLabel graphics[];
*/
    
    /** Creates a new instance of Thing */
 
/*   public Thing(Icon icon) {
        super();
        //this.setBackground(new Color(255,0,0));
        //this.setOpaque(true);
        this.myType = 0;
        this.graphics = new JLabel[10];
        this.graphics[0] = new JLabel();
        this.graphics[0].setIcon(icon);
        this.graphics[0].setSize(32,32);
    }
    
    public Thing() {
        this(null);
    }
    
    public void setType(int type) {
        this.myType = type;
    }
    
    public int getType() {
        return this.myType;
    }
    
    public void setIcon(Icon icon,int index) {
        this.graphics[index].setIcon(icon);
    }
    
    public Icon getIcon(int index) {
        return this.graphics[index].getIcon();
    }
    
    public JLabel getGraphic(int index) {
        return this.graphics[index];
    }
}
*/
